package com.leo.foodmaster.admin.recipe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leo.foodmaster.admin.recipe.entity.RecipeTypeEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 菜品类型
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2021-10-29
 */
public interface RecipeTypeMapper extends BaseMapper<RecipeTypeEntity> {


    /**
     * 查询菜品分类是否正在使用
     * @param ids ids
     * @return String
     */
    String checkForUse(@Param("ids") List<Long> ids);
}
